package app.r_teenus.backend.dao;

import java.util.List;

import app.r_teenus.backend.model.Device;
import app.r_teenus.backend.model.DeviceSearch;


public interface DeviceDao extends DefaultDao {

	public Device findDeviceById(Integer id);

	/**
	 * Saves device.
	 */
	public Device save(Device device);

	public List<Device> findDevice();
	
	public Device createNewDevice();
	
	public DeviceSearch createSearch();
	
	public DeviceSearch search(DeviceSearch search);

	public void delete(Device device);
}
